import com.edu.lingnan.springcloud.pojo.Dept;
import com.edu.lingnan.springcloud.service.DeptService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * @Author shaosen
 * @Description //TODO
 * @Date 20:16 2020/5/31
 */
public class texst {

    @Autowired
    private DeptService deptService;

    @Test
    public void test1(){
        List<Dept> depts = deptService.queryAll();
        System.out.println(depts);
    }
}
